.text {
    margin-top: 5px;
    word-break: break-all;
    white-space: pre-wrap;
}

.main-box {
    padding: 5px;
}